import request from '@/utils/request'

// 活动详情
export function getActivityDetail(params) {
    return request({
        url: '/api/cms/content/activity/detail',
        method: 'get',
        params: params
    })
}

// 文章详情
export function getArticleDetail(params) {
    return request({
        url: '/api/cms/article/detail',
        method: 'get',
        params: params
    })
}

// 话题详情
export function getTopicDetail(params) {
    return request({
        url: '/api/cms/content/topic/detail',
        method: 'get',
        params: params
    })
}

// 话题评论
export function getTopicCommentList(params) {
    return request({
        url: '/api/cms/content/topic/comment/list',
        method: 'get',
        params: params
    })
}


// 视频详情
export function getVideoDetail(params) {
    return request({
        url: '/api/cms/content/video/detail',
        method: 'get',
        params: params
    })
}

